import { BaseObjectAmcaxProp, ShowTypeBaseAmcaxProp } from './baseAmcaxProp';

export const RFM3D = {
  materials: {
    AmcaxProp: {
      childCreatable: true,
      onlyOne: true,
    },
    ABS: {
      AmcaxProp: BaseObjectAmcaxProp,
      YoungsModulus: {
        Type: 'double',
        Default: 1800,
      },
      PoissonsRatio: {
        Type: 'double',
        Default: 0.35,
      },
    },
  },
  boundaries: {
    AmcaxProp: {
      childCreatable: true,
    },
    BodyForce: {
      AmcaxProp: ShowTypeBaseAmcaxProp,
      AssignTo: {
        Type: 'Element',
      },
      Component: {
        Type: 'Arrayd',
        Default: [0.0, 0.0, 0.0],
      },
    },
    Pressure: {
      AmcaxProp: ShowTypeBaseAmcaxProp,
      AssignTo: {
        Type: 'Surface',
      },
      Component: {
        Type: 'Arrayd',
        Default: [0.0, 0.0, 0.0],
      },
    },
    DisplacementConstraint: {
      AmcaxProp: ShowTypeBaseAmcaxProp,
      AssignTo: {
        Type: 'Node',
      },
      Component: {
        Type: 'Arrayd',
        Default: [0.0, 0.0, 0.0],
      },
    },
  },
};
